﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<zeus.Core.Dispositivo>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContentPlaceHolder" runat="server">
    <script language="javascript" type="text/javascript">
        $(function () { $("#navbar").hide(); });
    </script>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    
    <h2>Dispositivo</h2>


<table width="85%" height="100%" border="0" cellspacing="0">
  <tr>
    <!--<td background="<%= ResolveUrl("~") %>Content/Images/fondo_pantallas.png" width="100%" height="100%">-->
    <table width="100%" border="0" cellspacing="0">
  <tr>
    <td width="50%"><form id="form1" name="form1" method="post" action="">
      <table width="100%" height="100%" border="0" cellspacing="0">
        <tr>
          <td><table width="100%" border="0" cellspacing="0">
            <tr>
              <td width="33%" height="100%"><table width="100%" border="0" cellspacing="0">
                <tr>
                  <div class="editor-label">
                    <%= Html.LabelFor(model => model.Marca) %>
                  </div>
                </tr>
                <tr>
                  <td valign="top"><label>
                   <div class="editor-field">

                   <style>
                    .MakeWide { width: 155px; }
                   </style>
                    <%= Html.DropDownListFor(model => model.Marca, ViewData["MarcaCombo"] as SelectList, new { @class = "MakeWide" })%>
                    <%= Html.ValidationMessageFor(model => model.Marca) %>
                   </div>
                  </label></td>
                </tr>
              </table></td>
              <td width="34%" height="100%">
              <table width="100%" border="0" cellspacing="0">
                <tr>
                  <td>
                   <div class="editor-label">
                    <%= Html.LabelFor(model => model.Modelo) %>
                    </div>
                   </td>
                </tr>
                <tr>
                  <td><label>
                   <div class="editor-field">
                    <%= Html.TextBoxFor(model => model.Modelo) %>
                    <%= Html.ValidationMessageFor(model => model.Modelo) %>
                    </div>
                  </label></td>
                </tr>
              </table></td>
              <td width="33%" height="100%"><table width="100%" border="0" cellspacing="0">
                <tr>
                  <td>
                  <div class="editor-label">
                  <%= Html.LabelFor(model => model.Tipo) %>
                  </div>
                  </td>
                </tr>
                <tr>
                  <td width="100%"><label>
                    <div class="editor-field">

                    <style>
                        .MakeWide { width: 155px; }
                    </style>
                     <%= Html.DropDownListFor(model => model.Tipo, ViewData["TipoCombo"] as SelectList, new {@class = "MakeWide"})%>
                     <%= Html.ValidationMessageFor(model => model.Tipo) %>
                    </div>
                    </select>
                  </label></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="100%"><table width="100%" border="0" cellspacing="0">
            <tr>
              <td width="34%" height="100%" align="left" valign="top"><table width="100%" border="0" cellspacing="0">
                <tr>
                  <td><table width="100%" border="0" cellspacing="0">
                    <tr>
                      <td>
                      <div class="editor-label">
                        <%= Html.LabelFor(model => model.Serial) %>
                      </div>
                      </td>
                    </tr>
                    <tr>
                      <td width="30" height="30"><label>
                       <div class="editor-field">
                        <%= Html.TextBoxFor(model => model.Serial) %>
                        <%= Html.ValidationMessageFor(model => model.Serial) %>
                       </div>
                      </label></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0" cellspacing="0">
                    <tr>
                      <td>
                      <div class="editor-label">
                        <%= Html.LabelFor(model => model.IMEI) %>
                      </div>
                      </td>
                    </tr>
                    <tr>
                      <td width="30" height="30"><label>
                        <div class="editor-field">
                            <%= Html.TextBoxFor(model => model.IMEI) %>
                            <%= Html.ValidationMessageFor(model => model.IMEI) %>
                        </div>
                      </label></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
              <td width="66%" height="100%" align="left" valign="top">
              <table width="92%" border="0" cellspacing="0">
                <tr>
                  <td>
                   <div class="editor-label">
                    <%= Html.LabelFor(model => model.Observaciones) %>
                   </div>
        
<<<<<<< .mine
        <div class="editor-label">
            <%= Html.LabelFor(model => model.Marca) %>
        </div>
        <div class="editor-field">
            <%= Html.DropDownListFor(model => model.Marca, ViewData["MarcaCombo"] as SelectList)%>
            <%= Html.ValidationMessageFor(model => model.Marca) %>
        </div>
            
        <div class="editor-label">
            <%= Html.LabelFor(model => model.Modelo) %>
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Modelo) %>
            <%= Html.ValidationMessageFor(model => model.Modelo) %>
        </div>
            
        <div class="editor-label">
            <%= Html.LabelFor(model => model.Tipo) %>
        </div>
        <div class="editor-field">
            <%= Html.DropDownListFor(model => model.Tipo, ViewData["TipoCombo"] as SelectList)%>
            <%= Html.ValidationMessageFor(model => model.Tipo) %>
        </div>
            
        <div class="editor-label">
            <%= Html.LabelFor(model => model.Serial) %>
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.Serial) %>
            <%= Html.ValidationMessageFor(model => model.Serial) %>
        </div>
            
        <div class="editor-label">
            <%= Html.LabelFor(model => model.IMEI) %>
        </div>
        <div class="editor-field">
            <%= Html.TextBoxFor(model => model.IMEI) %>
            <%= Html.ValidationMessageFor(model => model.IMEI) %>
        </div>
            
        <div class="editor-label">
            <%= Html.LabelFor(model => model.Observaciones) %>
        </div>
        <div class="editor-field">
            <%= Html.TextAreaFor(model => model.Observaciones) %>
            <%= Html.ValidationMessageFor(model => model.Observaciones) %>
        </div>
            
        <p>
            <input type="submit" value="Guardar" />
            <input type="button" onclick="javascript:document.location.href='<%= ResolveUrl("~") %>Recursos/Dispositivo'" value="Cancelar" />
        </p>
        
    <% } %>        
=======
                  </td>
                </tr>
                <tr>
                  <td><label>
                   <div class="editor-field">
                    
                    <%= Html.TextAreaFor(model => model.Observaciones, new { cols = "39", rows = "5"})%>
                    <%= Html.ValidationMessageFor(model => model.Observaciones) %>
                   </div>
                  </label></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="52"><table width="100%" border="0" cellspacing="0">
            <tr>
              <td align="right" valign="top"><input type="submit" value="Guardar" /></td>
              <td align="left" valign="top"><input type="button" onclick="javascript:document.location.href='/Recursos/Dispositivo'" value="Cancelar" /></td>
              <!--<td align="right" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('btnGuardar','','Imagenes/btn_Guardar2.png',1)"><img src="Imagenes/btn_Guardar1.png" name="btnGuardar" width="100" height="25" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
              <td align="left" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('btnAtras','','Imagenes/btn_Atras2.png',1)"><img src="Imagenes/btn_Atras1.png" name="btnAtras" width="100" height="25" border="0"></a></td>-->
            </tr>
          </table></td>
        </tr>
      </table>
    </form></td>
    <td width="30%" height="100%">&nbsp;</td>
  </tr>
</table>
</td>
  </tr>
</table>
>>>>>>> .r209


       

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MenuContentPlaceHolder" runat="server">
</asp:Content>

